package com.thermofisher.dsc.amanda.model.po.auth;

import com.thermofisher.dsc.amanda.model.BaseModel;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Table;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by wenjie.yang on 10/23/2018.
 */
@Getter
@Setter
@Table(name = "role")
public class Role extends BaseModel {

    @Column(name = "name")
    private String name;

    @Column(name = "description")
    private String description;

    @Column(name = "status")
    private Integer status;

    private List<Permission> permissionList;

    private List<Long> permissions;

}